var types = {
	'windows 6.0': 'WindowsVista',
	'windows 6.1': 'windows7',
	'windows 6.2': 'windows8',
	'windows 6.3': 'windows9',
	'windows 6.4': 'windows10',
	'windows 10.2': 'windows10',
	'windows 10.0': 'windows10',
	'windows 5.0': 'Windows2000',
	'windows 5.1': 'windows xp',
	'windows 5.2': 'windows xp',
	'windows 5.3': 'windows xp',
	'windows 4.0': 'windows NT',
	'windows 4.10': 'windows NT',
	'windowsce': '微软嵌入式平台',
}

module.exports = {
	getOS: function (name,fullVersion,version) {
		if(name == 'na'){
			return '';
		}else if(version != -1){
			if(/windows/.test(name)&&types[name+' '+fullVersion]){
				return types[name+' '+fullVersion];
			}
			return name;
		}
		return '';
	}
}